package com.yuke.cloud.service.pmc.dto;

import com.yuke.cloud.service.pmc.entity.ProdRegionPicture;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Transient;
import java.util.List;

@Data
@ApiModel(value = "地域详细信息表")
public class ProdRegionRecommendDto {

    @Column(name = "region_introduce_id")
    @ApiModelProperty(value="regionIntroduceId主键，自增")
    private Long regionIntroduceId;

    /**
     * 地域ID
     */
    @Column(name = "region_id")
    @ApiModelProperty(value="regionId地域ID")
    private Long regionId;

    @Transient
    @ApiModelProperty(value="regionName")
    private String regionName;

    /**
     * 是否为作为推荐地进行展示介绍，0：不是，1：是
     */
    @Column(name = "is_recommend")
    @ApiModelProperty(value="isRecommend是否为作为推荐地进行展示介绍，0：不是，1：是")
    private Boolean isRecommend;

    /**
     * 介绍内容
     */
    @Column(name = "introduce_content")
    @ApiModelProperty(value="introduceContent介绍内容")
    private String introduceContent;

    private List<ProdRegionPicture> prodPictures;
    private RegionDto dicRegion;
}
